package com.cpone.cponespringboot.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@EnableAutoConfiguration
@RequestMapping(value="/cpone")
public class HelloWordController {

    @RequestMapping(value="/hello",method = RequestMethod.GET)
    public String HelloWorld(){
        return "hello World";
    }
}
